package com.andova.glcamera.texture

import android.content.Context
import android.util.AttributeSet
import androidx.annotation.RequiresApi
import com.andova.glcamera.device.Camera2Device
import com.andova.glcamera.device.CameraCallback

@RequiresApi(21)
class ACamera2TextureView(context: Context, attrs: AttributeSet?) : CameraTextureView(context, attrs) {
    private val device = Camera2Device(context)
    override fun getCamera(): CameraCallback = device
}